<extend name="Public/base"/>
<block name="nav">
  <ul class="nav nav-tabs" >
    <li class="active"><a href="#base"    data-toggle="tab">基本设置</a></li>
  
    <li><a href="#gaoji"    data-toggle="tab">内容设置</a></li>
      <li><a href="#seo"    data-toggle="tab">SEO设置</a></li>
  
  </ul>
</block>
<block name="body">
  <form method="post" class="form-horizontal J_ajaxForm" action="">
    <div class="tab-content">
      <div  class="tab-pane active fade in" id="base">
        <table  width="100%" class="table table_from table-bordered">
          <tbody>
             <include file="Cate:cate_base"/>
             
            
            
            
            
            
         <tr>
              <th width="180" >模板:</th >
              <td>
              <select name="tpl_cl" >
              <volist name="tpl_cl" id="v">
                  <option value="{$v.file}" {$v.select}>{$v.name}</option>
              </volist>
              </select>
              </td>
            </tr>
            
          </tbody>
        </table>
      </div>
      <div  class="tab-pane  fade " id="seo">
       <table  width="100%" class="table table_from table-bordered">
          <tbody>
         
        <include file="Cate:cate_seo"/>
             </tbody>
        </table>
      </div>
      <div  class="tab-pane  fade " id="gaoji">
        <table  width="100%" class="table table_from table-bordered">
          <tbody>
            <tr>
             
              <td colspan="2">
              
          <ueditor name="content"  >{$data.content}</ueditor>

    
              </td>
            </tr>
        
          </tbody>
        </table>
      </div>
      
      <div  class="tab-pane  fade " id="kuozhan">
        <include file="$modelid"/>
      </div>
      
      
    </div>
    <div class="form-actions">
    
    
    <if condition="$edit">
     <input type="hidden"  name="id"   value="{$data.id}"  />
   
     
    </if>
    
      <button class="btn btn-info ajax-post"   target-form="J_ajaxForm" type="submit">  <if condition="$edit">更新<else/>添加</if></button>
       <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
    </div>
  </form>
</block>
<block name="plugin-style">
  
</block>
<block name="plugin-script"> 
  <script src="__JS__/content.js"></script> 
  <script src="__JS__/ueditor/ueditor.config.js"></script>
  <script src="__JS__/ueditor/ueditor.all.min.js"></script>
</block>